import matplotlib.pyplot as plt
import numpy as np

def fun(x):
    return 3*x*x-np.exp(x)

plt.style.use('seaborn-whitegrid')

x=np.linspace(-10,10,100)
y=fun(x)

plt.plot(x,y)

plt.show()
